package com.interauto.Dao.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * 接口表
 */
public class Interinfo implements Serializable {
    private Integer id;
    /**
     * 接口名称
     */
    private String interfacename;
    /**
     * 接口类型 1=http,2=rpc,3=sql,4=redis
     */
    private Integer intercasetype;
    /**
     * 协议类型  1=http,2=https
     */
    private Integer httptype;
    /**
     * 请求方式 1=get,2=post
     */
    private Integer httpmeth;
    /**
     * 请求路径
     */
    private String httpurl;
    /**
     * 请求HEADER
     */
    private String headstr;
    private Map<String,String> headstrmap;
    /**
     * 参数类型 1=json,2=x-www-from
     */
    private Integer postparamtype;
    /**
     * 请求参数
     */
    private String httpparam;
    /**
     * 校验类型 1=规则校验，2=自定义脚本校验
     */
    private Integer checktype;
    /**
     * 用例ID
     */
    private Integer caseid;
    private Date updatetime;
    private Date createtime;

    /**
     * 删除状态。0=正常，1=删除
     */
    private int delstatus;

    public int getDelstatus() {
        return delstatus;
    }

    public void setDelstatus(int delstatus) {
        this.delstatus = delstatus;
    }


    @Override
    public String toString() {
        return "Interinfo{" +
                "id=" + id +
                ", interfacename='" + interfacename + '\'' +
                ", intercasetype=" + intercasetype +
                ", httptype=" + httptype +
                ", httpmeth=" + httpmeth +
                ", httpurl='" + httpurl + '\'' +
                ", headstr='" + headstr + '\'' +
                ", headstrmap=" + headstrmap +
                ", postparamtype=" + postparamtype +
                ", httpparam='" + httpparam + '\'' +
                ", checktype=" + checktype +
                ", caseid=" + caseid +
                ", updatetime=" + updatetime +
                ", createtime=" + createtime +
                ", delstatus=" + delstatus +
                '}';
    }

    public Map<String, String> getHeadstrmap() {
        return headstrmap;
    }

    public void setHeadstrmap(Map<String, String> headstrmap) {
        this.headstrmap = headstrmap;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInterfacename() {
        return interfacename;
    }

    public void setInterfacename(String interfacename) {
        this.interfacename = interfacename;
    }

    public Integer getIntercasetype() {
        return intercasetype;
    }

    public void setIntercasetype(Integer intercasetype) {
        this.intercasetype = intercasetype;
    }

    public Integer getHttptype() {
        return httptype;
    }

    public void setHttptype(Integer httptype) {
        this.httptype = httptype;
    }

    public Integer getHttpmeth() {
        return httpmeth;
    }

    public void setHttpmeth(Integer httpmeth) {
        this.httpmeth = httpmeth;
    }

    public String getHttpurl() {
        return httpurl;
    }

    public void setHttpurl(String httpurl) {
        this.httpurl = httpurl;
    }

    public String getHeadstr() {
        return headstr;
    }

    public void setHeadstr(String headstr) {
        this.headstr = headstr;
    }

    public Integer getPostparamtype() {
        return postparamtype;
    }

    public void setPostparamtype(Integer postparamtype) {
        this.postparamtype = postparamtype;
    }

    public String getHttpparam() {
        return httpparam;
    }

    public void setHttpparam(String httpparam) {
        this.httpparam = httpparam;
    }

    public Integer getChecktype() {
        return checktype;
    }

    public void setChecktype(Integer checktype) {
        this.checktype = checktype;
    }

    public Integer getCaseid() {
        return caseid;
    }

    public void setCaseid(Integer caseid) {
        this.caseid = caseid;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
